#pragma once

#include <string>
#include "cg/cg.h"
#include "EnemyManager.h"

namespace PeanutQuest {

	class ICollidable;
	class Enemy;
	class ConfigManager;

	class Enemy2Manager :
		public cg::Entity,
		public cg::IDrawListener,
		public cg::IUpdateListener
	{
	private:
		std::vector<Enemy*> enemies;
		ConfigManager* config;

	public:
		Enemy2Manager(std::string id);
		~Enemy2Manager();
		
		void init();
		void update(unsigned long elapsed_millis);
		void draw();
		void deleteEnemy(Enemy* enemy);
	};
}